two-out-of-two logic

二取二逻辑